/*
 * @Description: 元数据管理
 * @Author: Rfan
 * @Date: 2022-05-30 14:43:58
 * @LastEditTime: 2022-05-30 15:57:04
 */

import classNames from 'classnames/bind';
import { MetadataInheritContextProvider } from './contexts/MetadataInheritContext';
import NavSidebar from './components/NavSidebar';
import PageTitle from './components/PageTitle';
import PageContent from './components/PageContent';

import styles from './styles/metadataInheritMain.module.scss';

const cx = classNames.bind(styles);

const SystemMetadataInherit = () => {
  return (
    <>
      <MetadataInheritContextProvider>
        <div className={cx('metadata-linherit-wrap')}>
          <div className={cx('sidebar-wrap')}>
            <NavSidebar />
          </div>
          <div className={cx('content-wrap')}>
            <PageTitle />
            <PageContent />
          </div>
        </div>
      </MetadataInheritContextProvider>
    </>
  );
};

export default SystemMetadataInherit;
